CommandView Class Reference

#include <CommandView.h>

List of all members.

Public Member Functions

 CommandView (OSGWindows *osgwind)
 ~CommandView ()
void hideDispTrafficSigns ()
void hideDispTrafficLights ()
void hideDispEnvObjs ()
void hideDispVehicles ()

Static Public Attributes

static bool m_bTrafficSignsChecked
static bool m_bTrafficLightsChecked
static bool m_bEnvObjsChecked
static bool m_bVehiclesChecked

Protected Attributes

OSGWindows * osgwind_


Detailed Description

CommandView class This class provides the hide and display functionalities of the objects.

Definition at line 8 of file CommandView.h.


Constructor & Destructor Documentation

CommandView::CommandView (  OSGWindows *  osgwind  ) 
 

CommandView constructor

Parameters:
osgwind sets the osgwind to the private variable

Definition at line 5 of file CommandView.cpp.

References osgwind, and osgwind_.

CommandView::~CommandView (   ) 
 

CommandView destructor

Definition at line 11 of file CommandView.cpp.


Member Function Documentation

void CommandView::hideDispEnvObjs (   ) 
 

Makes the environmental objects hide/display according to the value of m_bEnvObjsChecked variable

Definition at line 66 of file CommandView.cpp.

References ENVIRONMENTOBJECT, OSGWindows::getConstantRoot(), OSGWindows::getObjects(), m_bEnvObjsChecked, m_bTrafficSignsChecked, and osgwind_.

void CommandView::hideDispTrafficLights (   ) 
 

Makes the traffic signs hide/display according to the value of m_bTrafficLightsChecked variable

Definition at line 37 of file CommandView.cpp.

References OSGWindows::getConstantRoot(), OSGWindows::getObjects(), LIGHT, m_bTrafficLightsChecked, and osgwind_.

void CommandView::hideDispTrafficSigns (   ) 
 

Makes the traffic signs hide/display according to the value of m_bTrafficSignsChecked variable

Definition at line 15 of file CommandView.cpp.

References OSGWindows::getConstantRoot(), OSGWindows::getObjects(), m_bTrafficSignsChecked, osgwind_, and SIGN.

void CommandView::hideDispVehicles (   ) 
 

Makes the vehicles hide/display according to the value of m_bVehiclesChecked variable

Definition at line 88 of file CommandView.cpp.

References OSGWindows::getConstantRoot(), OSGWindows::getObjects(), m_bVehiclesChecked, osgwind_, and VEHICLE.


Member Data Documentation

bool CommandView::m_bEnvObjsChecked [static]
 

This variable is set to true when the environmental objects are made visible and set to false when they are set to hidden

Definition at line 33 of file CommandView.h.

Referenced by hideDispEnvObjs().

bool CommandView::m_bTrafficLightsChecked [static]
 

This variable is set to true when the traffic lights are made visible and set to false when they are set to hidden

Definition at line 27 of file CommandView.h.

Referenced by hideDispTrafficLights().

bool CommandView::m_bTrafficSignsChecked [static]
 

This variable is set to true when the traffic signs are made visible and set to false when they are set to hidden.

Definition at line 20 of file CommandView.h.

Referenced by hideDispEnvObjs(), and hideDispTrafficSigns().

bool CommandView::m_bVehiclesChecked [static]
 

This variable is set to true when the vehicles are made visible and set to false when they are set to hidden

Definition at line 39 of file CommandView.h.

Referenced by hideDispVehicles().

OSGWindows* CommandView::osgwind_ [protected]
 

The pointer variable for the OsgWindows object.

Definition at line 13 of file CommandView.h.

Referenced by CommandView(), hideDispEnvObjs(), hideDispTrafficLights(), hideDispTrafficSigns(), and hideDispVehicles().


The documentation for this class was generated from the following files:
Generated on Sun May 28 18:54:12 2006 for TraffEdu by  doxygen 1.4.6-NO